package com.mcxx.modules.miniSalvation.order.service.read;

import com.mcxx.common.exception.BizException;
import com.mcxx.modules.miniSalvation.order.dao.read.AreaMoveRecordReadDao;
import com.mcxx.modules.miniSalvation.order.dao.write.AreaMoveRecordWriteDao;
import com.mcxx.modules.miniSalvation.order.dto.AreaMoveDTO;
import com.mcxx.modules.miniSalvation.order.dto.AreaMoveRecordDTO;
import com.mcxx.modules.miniSalvation.order.entity.AreaMoveRecordEntity;
import com.yinhai.ta404.core.restservice.resultbean.Page;
import com.yinhai.ta404.core.restservice.requestbean.PageParam;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@TaTransactional(readOnly = true)
@Service
public class AreaMoveRecordReadService {

    @Autowired
    private AreaMoveRecordReadDao areaMoveRecordReadDao;


    public List<AreaMoveRecordDTO> queryIdcardAreaMove(AreaMoveDTO dto){
       return  areaMoveRecordReadDao.queryIdcardAreaMove(  dto);
    }


    public List<AreaMoveRecordDTO> dwonloadMoveDetail(AreaMoveDTO dto){ return areaMoveRecordReadDao.dwonloadMoveDetail(dto); }

}
